package com.lxd.sunso.product.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;

/**
 * 
 * 
 * @author lxd
 * @email sunlightcs@gmail.com
 * @date 2020-12-30 18:06:30
 */
@Data
@TableName("Sunso_Alarmhisdata")
public class AlarmhisdataEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * 自增ID
	 */
	@TableId
	private Long id;
	/**
	 * 设备ID
	 */
	private Long machineid;
	/**
	 * 顾客ID
	 */
	private Long customerid;
	/**
	 * 数据点ID
	 */
	private Long datatemplateid;
	/**
	 * 报警内容
	 */
	private String alarmcontent;
	/**
	 * 状态
	 */
	private String states;
	/**
	 * 实时数据值
	 */
	private String datavalue;
	/**
	 * 创建时间
	 */
	private String createtime;

	@TableField(exist = false)
	private String machineName;

	@TableField(exist = false)
	private String customerName;

	@TableField(exist = false)
	private String controlName;

}
